import { VNode } from 'vue'
import { TooltipProps, TooltipInstance } from '../Tooltip/type'

export interface DropdownProps extends TooltipProps {
  menuOptions: MenuOption[]
  hideAfterClick?: boolean
}
export interface MenuOption {
  key: string | number
  label: string | VNode
  disabled?: boolean
  divided?: boolean
 
}
export interface DropdownEmits {
  (e: 'visible-change', value: boolean): void
  (e: 'select', value: MenuOption): void
}
export interface DropdownInstance extends TooltipInstance {}
